import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import installElementPlus from "./plugins/element";
import store from "./store";

const app = createApp(App);

// var axios = require("axios");
// app.config.globalProperties.$axios = axios;
//
// app.config.globalProperties.append = (path, pathToAppend) =>
//   path + (path.endsWith("/") ? "" : "/") + pathToAppend;

//使用element组件
installElementPlus(app);

app.use(router).use(store).mount("#app");
